package com.hao.desing.builder.moder;

public class Worker extends Builder {
    private product product;

    public Worker() {
        product = new product();
    }

    @Override
    product getProduct() {
        return null;
    }

    @Override
    void buildA() {
      product.setBuildA("llA");
        System.out.println("llA");
    }

    @Override
    void buildB() {
        product.setBuildA("llB");
        System.out.println("llB");
    }

    @Override
    void buildC() {
        product.setBuildA("llC");
        System.out.println("llC");
    }

    @Override
    void buildD() {
        product.setBuildA("llD");
        System.out.println("llC");
    }
}
